public class Solution292 {
    public boolean canWinNim(int n) {
        return n%4!=0?true:false;
    }

    public static void main(String[] args) {
        System.out.println(new Solution292().canWinNim(4));
    }
}
